package edu.nf.takeoutdemo.service;

import edu.nf.takeoutdemo.commons.result.PageResult;
import edu.nf.takeoutdemo.model.dto.OrderPageQueryDTO;
import edu.nf.takeoutdemo.model.vo.*;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 *
 * @author zjl
 * @date 2025/11/4
 */
public interface WorkSpaceService {
    /**
     * 根据时间段统计营业数据
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin,LocalDateTime end);

    /**
     * 查询订单管理数据
     * @return
     */
    OrderOverViewVO getOrderOverView();

    /**
     * 查询菜品总览
     * @return
     */
    DishOverViewVO getDishOverView();

    /**
     * 查询套餐总览
     * @return
     */
    SetmealOverViewVO getSetmealOverView();

    /**
     * 获取当天订单信息
     * @return
     */
    PageResult getTodayOrders(OrderPageQueryDTO orderPageQueryDTO);
}
